﻿#region Using Directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion

namespace Nihongo
{
    public class IAdjective
    {
        private const string Kunai = "くない";
        private const string Katta = "かった";
        private const string Kunakatta = "くなかった";
        private const string ContinuousEnding = "く";
        
        private readonly Word _adjective;
        private readonly Word _root;

        public IAdjective(string adjective, string kana)
        {
            _adjective = new Word(adjective, kana);
            _root = _adjective.TrimEnd(1);
        }

        public Word Root
        {
            get { return _root; }
        }

        public Word PresentForm
        {
            get { return _adjective; }
        }

        public Word PresentNegativeForm
        {
            get { return Word.Concat(_root, Kunai); }
        }

        public Word PastForm
        {
            get { return Word.Concat(_root, Katta); }
        }

        public Word PastNegativeForm
        {
            get { return Word.Concat(_root, Kunakatta); }
        }

        public Word ContinuousForm
        {
            get { return Word.Concat(_root, ContinuousEnding); }
        }
    }
}
